package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 业务员地域维护表
 * @Author: jeecg-boot
 * @Date:   2020-09-15
 * @Version: V1.0
 */
@Data
@TableName("bas_salesman")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bas_salesman对象", description="业务员地域维护表")
public class BasSalesman implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**业务员ID*/
	@Excel(name = "业务员", width = 15, dictTable = "sys_user", dicText = "username", dicCode = "id")
	@Dict(dictTable = "sys_user", dicText = "username", dicCode = "id")
    @ApiModelProperty(value = "业务员")
    private java.lang.String userId;
//	/**业务员名*/
//	@Excel(name = "业务员", width = 15, dictTable = "sys_user", dicText = "username", dicCode = "id")
//	@Dict(dictTable = "sys_user", dicText = "username", dicCode = "id")
//    @ApiModelProperty(value = "业务员")
//    private java.lang.String userName;
	/**地域*/
	@Excel(name = "地域", width = 15)
    @ApiModelProperty(value = "地域")
    private java.lang.String userArea;
	
	/**是否启用*/
	@Excel(name = "是否启用", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否启用")
    private java.lang.Integer isEnabled;
}
